# -*- coding: UTF-8 -*-
from django.shortcuts import render_to_response


def page_not_found(request, exception):
    return render_to_response('error/404.html', status=404)


def page_error(exception):
    return render_to_response('error/500.html', context=exception, status=500)


def permission_denied(request, exception):
    return render_to_response('error/403.html', context=exception, status=500)
